<template>
    <section>
        <div class="main">
            <companyInfo ref='info' v-if="company.code" :currObj='company' :companyCode='getCompanyCode()'></companyInfo>
            <div style="text-align:cente;" class="footer">

                <el-button type="primary" @click='$refs.info.saveCompany()'>保存</el-button>

            </div>
        </div>
    </section>
</template>
<script src="./myCompanyInfo.js">

</script>
<style lang="scss" scoped>
    .footer {
        padding-left: 80px
    }
    .main
    {
        margin: 20px
    }
</style>